#!/bin/bash 
set -e; 
cd /Users/tkdave/work/bumpslide_lib     
#scripts/build_docs.sh
mkdir tmp
cp -R classes/pdf417lib tmp
cd tmp/
find . -name .svn | xargs rm -rf
cd ..

BUILDNAME=pdf417lib_as3_src_`date +%Y%m%d`   
mv tmp $BUILDNAME   
zip -q -r $BUILDNAME.zip $BUILDNAME
rm -rf $BUILDNAME        
mv $BUILDNAME.zip builds/